const express = require('express')
const UserRouter = express.Router()
const UserHandle = require('../routers-handle/user')
const expressJoi = require('@escook/express-joi')
const login_schema = require('../schema/schema')
UserRouter.post('/login', expressJoi(login_schema.login_schema), UserHandle.login)
module.exports = UserRouter